<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Jetson Inference: Log Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="NVLogo_2D.jpg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Jetson Inference
   </div>
   <div id="projectbrief">DNN Vision Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classLog.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-static-attribs">Static Protected Attributes</a> &#124;
<a href="classLog-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Log Class Reference<div class="ingroups"><a class="el" href="group__util.html">Utilities Library (jetson-utils)</a> &raquo; <a class="el" href="group__log.html">Logging</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Message logging with a variable level of output and destinations.  
 <a href="classLog.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="logging_8h_source.html">logging.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:afb5d4c945d835d194a295461d752531e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#afb5d4c945d835d194a295461d752531e">Level</a> { <br />
&#160;&#160;<a class="el" href="classLog.html#afb5d4c945d835d194a295461d752531eabfeaf96ee427cb4a1e58079fe56d6659">SILENT</a> =0, 
<a class="el" href="classLog.html#afb5d4c945d835d194a295461d752531ea4cd0be82d98ca2a542adc75f2c826e5b">ERROR</a>, 
<a class="el" href="classLog.html#afb5d4c945d835d194a295461d752531ea3af89ac37cc3e24957e7901211345e96">WARNING</a>, 
<a class="el" href="classLog.html#afb5d4c945d835d194a295461d752531ead5214ff9471f920797b08c249706ab69">SUCCESS</a>, 
<br />
&#160;&#160;<a class="el" href="classLog.html#afb5d4c945d835d194a295461d752531ea8ddc7ebe42544ebab9b3d6cf49ab33d8">INFO</a>, 
<a class="el" href="classLog.html#afb5d4c945d835d194a295461d752531ea0763041e407c0324563ab6aff02b11ee">VERBOSE</a>, 
<a class="el" href="classLog.html#afb5d4c945d835d194a295461d752531ea4e49113de847d4ce568b7f0d5647a715">DEBUG</a>, 
<a class="el" href="classLog.html#afb5d4c945d835d194a295461d752531ea04f2e465914e7dd3f9c981ddd603e8e6">DEFAULT</a> =VERBOSE
<br />
 }<tr class="memdesc:afb5d4c945d835d194a295461d752531e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines the logging level of a message, and the threshold used by the logger to either drop or output messages.  <a href="classLog.html#afb5d4c945d835d194a295461d752531e">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:afb5d4c945d835d194a295461d752531e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a1e0dae8692350761b8809693789f31ce"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classLog.html#afb5d4c945d835d194a295461d752531e">Level</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#a1e0dae8692350761b8809693789f31ce">GetLevel</a> ()</td></tr>
<tr class="memdesc:a1e0dae8692350761b8809693789f31ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current logging level.  <a href="#a1e0dae8692350761b8809693789f31ce">More...</a><br /></td></tr>
<tr class="separator:a1e0dae8692350761b8809693789f31ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8dad02e089ddac13fb2f711143c2fc0d"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#a8dad02e089ddac13fb2f711143c2fc0d">SetLevel</a> (<a class="el" href="classLog.html#afb5d4c945d835d194a295461d752531e">Level</a> level)</td></tr>
<tr class="memdesc:a8dad02e089ddac13fb2f711143c2fc0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the current logging level.  <a href="#a8dad02e089ddac13fb2f711143c2fc0d">More...</a><br /></td></tr>
<tr class="separator:a8dad02e089ddac13fb2f711143c2fc0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af041fc113d4bc1c646e592d2b557c478"><td class="memItemLeft" align="right" valign="top">static FILE *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#af041fc113d4bc1c646e592d2b557c478">GetFile</a> ()</td></tr>
<tr class="memdesc:af041fc113d4bc1c646e592d2b557c478"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current log output.  <a href="#af041fc113d4bc1c646e592d2b557c478">More...</a><br /></td></tr>
<tr class="separator:af041fc113d4bc1c646e592d2b557c478"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13f5e0d46c9fff3b676fdd54e69c9ece"><td class="memItemLeft" align="right" valign="top">static const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#a13f5e0d46c9fff3b676fdd54e69c9ece">GetFilename</a> ()</td></tr>
<tr class="memdesc:a13f5e0d46c9fff3b676fdd54e69c9ece"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the filename of the log output.  <a href="#a13f5e0d46c9fff3b676fdd54e69c9ece">More...</a><br /></td></tr>
<tr class="separator:a13f5e0d46c9fff3b676fdd54e69c9ece"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f77b78fa8f1f8a0ce240fcec82d6ba1"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#a5f77b78fa8f1f8a0ce240fcec82d6ba1">SetFile</a> (FILE *file)</td></tr>
<tr class="memdesc:a5f77b78fa8f1f8a0ce240fcec82d6ba1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the logging output.  <a href="#a5f77b78fa8f1f8a0ce240fcec82d6ba1">More...</a><br /></td></tr>
<tr class="separator:a5f77b78fa8f1f8a0ce240fcec82d6ba1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa21844620716ba51851da7c701c47706"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#aa21844620716ba51851da7c701c47706">SetFile</a> (const char *filename)</td></tr>
<tr class="memdesc:aa21844620716ba51851da7c701c47706"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the logging output.  <a href="#aa21844620716ba51851da7c701c47706">More...</a><br /></td></tr>
<tr class="separator:aa21844620716ba51851da7c701c47706"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aadbed1bc324f43b62a977d63f8dee534"><td class="memItemLeft" align="right" valign="top">static const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#aadbed1bc324f43b62a977d63f8dee534">Usage</a> ()</td></tr>
<tr class="memdesc:aadbed1bc324f43b62a977d63f8dee534"><td class="mdescLeft">&#160;</td><td class="mdescRight">Usage string for command line arguments to Create()  <a href="#aadbed1bc324f43b62a977d63f8dee534">More...</a><br /></td></tr>
<tr class="separator:aadbed1bc324f43b62a977d63f8dee534"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a81af53022c6d286a9341676ad778cd"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#a3a81af53022c6d286a9341676ad778cd">ParseCmdLine</a> (const int argc, char **argv)</td></tr>
<tr class="memdesc:a3a81af53022c6d286a9341676ad778cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse command line options (see <a class="el" href="classLog.html#aadbed1bc324f43b62a977d63f8dee534" title="Usage string for command line arguments to Create() ">Usage()</a> above)  <a href="#a3a81af53022c6d286a9341676ad778cd">More...</a><br /></td></tr>
<tr class="separator:a3a81af53022c6d286a9341676ad778cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9db7e596ef6b8d634c64cec0bda1d377"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#a9db7e596ef6b8d634c64cec0bda1d377">ParseCmdLine</a> (const <a class="el" href="classcommandLine.html">commandLine</a> &amp;cmdLine)</td></tr>
<tr class="memdesc:a9db7e596ef6b8d634c64cec0bda1d377"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse command line options (see <a class="el" href="classLog.html#aadbed1bc324f43b62a977d63f8dee534" title="Usage string for command line arguments to Create() ">Usage()</a> above)  <a href="#a9db7e596ef6b8d634c64cec0bda1d377">More...</a><br /></td></tr>
<tr class="separator:a9db7e596ef6b8d634c64cec0bda1d377"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad99543fb936b6448fc857a9db0751dc4"><td class="memItemLeft" align="right" valign="top">static const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#ad99543fb936b6448fc857a9db0751dc4">LevelToStr</a> (<a class="el" href="classLog.html#afb5d4c945d835d194a295461d752531e">Level</a> level)</td></tr>
<tr class="memdesc:ad99543fb936b6448fc857a9db0751dc4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a logging level to string.  <a href="#ad99543fb936b6448fc857a9db0751dc4">More...</a><br /></td></tr>
<tr class="separator:ad99543fb936b6448fc857a9db0751dc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4cfaba5c57f7ae9bb549326ce4842f4"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classLog.html#afb5d4c945d835d194a295461d752531e">Level</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#ad4cfaba5c57f7ae9bb549326ce4842f4">LevelFromStr</a> (const char *str)</td></tr>
<tr class="memdesc:ad4cfaba5c57f7ae9bb549326ce4842f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse a logging level from a string.  <a href="#ad4cfaba5c57f7ae9bb549326ce4842f4">More...</a><br /></td></tr>
<tr class="separator:ad4cfaba5c57f7ae9bb549326ce4842f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-attribs"></a>
Static Protected Attributes</h2></td></tr>
<tr class="memitem:a896bac37ef2440e3d2ed3a62745fe0df"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classLog.html#afb5d4c945d835d194a295461d752531e">Level</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#a896bac37ef2440e3d2ed3a62745fe0df">mLevel</a></td></tr>
<tr class="separator:a896bac37ef2440e3d2ed3a62745fe0df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a560b1e5aa606f40e708d95ae6739ffb8"><td class="memItemLeft" align="right" valign="top">static FILE *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#a560b1e5aa606f40e708d95ae6739ffb8">mFile</a></td></tr>
<tr class="separator:a560b1e5aa606f40e708d95ae6739ffb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a868d2e3c70c675aab339194e442347b0"><td class="memItemLeft" align="right" valign="top">static std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#a868d2e3c70c675aab339194e442347b0">mFilename</a></td></tr>
<tr class="separator:a868d2e3c70c675aab339194e442347b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Message logging with a variable level of output and destinations. </p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="afb5d4c945d835d194a295461d752531e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb5d4c945d835d194a295461d752531e">&#9670;&nbsp;</a></span>Level</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classLog.html#afb5d4c945d835d194a295461d752531e">Log::Level</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Defines the logging level of a message, and the threshold used by the logger to either drop or output messages. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="afb5d4c945d835d194a295461d752531eabfeaf96ee427cb4a1e58079fe56d6659"></a>SILENT&#160;</td><td class="fielddoc"><p>No messages are output. </p>
</td></tr>
<tr><td class="fieldname"><a id="afb5d4c945d835d194a295461d752531ea4cd0be82d98ca2a542adc75f2c826e5b"></a>ERROR&#160;</td><td class="fielddoc"><p>Major errors that may impact application execution. </p>
</td></tr>
<tr><td class="fieldname"><a id="afb5d4c945d835d194a295461d752531ea3af89ac37cc3e24957e7901211345e96"></a>WARNING&#160;</td><td class="fielddoc"><p>Warning conditions where the application may be able to proceed in some capacity. </p>
</td></tr>
<tr><td class="fieldname"><a id="afb5d4c945d835d194a295461d752531ead5214ff9471f920797b08c249706ab69"></a>SUCCESS&#160;</td><td class="fielddoc"><p>Successful events (e.g. </p>
<p>the loading or creation of a resource) </p>
</td></tr>
<tr><td class="fieldname"><a id="afb5d4c945d835d194a295461d752531ea8ddc7ebe42544ebab9b3d6cf49ab33d8"></a>INFO&#160;</td><td class="fielddoc"><p>Informational messages that are more important than VERBOSE messages. </p>
</td></tr>
<tr><td class="fieldname"><a id="afb5d4c945d835d194a295461d752531ea0763041e407c0324563ab6aff02b11ee"></a>VERBOSE&#160;</td><td class="fielddoc"><p>Verbose details about program execution. </p>
</td></tr>
<tr><td class="fieldname"><a id="afb5d4c945d835d194a295461d752531ea4e49113de847d4ce568b7f0d5647a715"></a>DEBUG&#160;</td><td class="fielddoc"><p>Low-level debugging (disabled by default) </p>
</td></tr>
<tr><td class="fieldname"><a id="afb5d4c945d835d194a295461d752531ea04f2e465914e7dd3f9c981ddd603e8e6"></a>DEFAULT&#160;</td><td class="fielddoc"><p>The default level is <code>VERBOSE</code> </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="af041fc113d4bc1c646e592d2b557c478"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af041fc113d4bc1c646e592d2b557c478">&#9670;&nbsp;</a></span>GetFile()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static FILE* Log::GetFile </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the current log output. </p>

</div>
</div>
<a id="a13f5e0d46c9fff3b676fdd54e69c9ece"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13f5e0d46c9fff3b676fdd54e69c9ece">&#9670;&nbsp;</a></span>GetFilename()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const char* Log::GetFilename </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the filename of the log output. </p>
<p>This may also return <code>"stdout"</code> or <code>"stderror"</code>. </p>

</div>
</div>
<a id="a1e0dae8692350761b8809693789f31ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e0dae8692350761b8809693789f31ce">&#9670;&nbsp;</a></span>GetLevel()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classLog.html#afb5d4c945d835d194a295461d752531e">Level</a> Log::GetLevel </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the current logging level. </p>

</div>
</div>
<a id="ad4cfaba5c57f7ae9bb549326ce4842f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad4cfaba5c57f7ae9bb549326ce4842f4">&#9670;&nbsp;</a></span>LevelFromStr()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classLog.html#afb5d4c945d835d194a295461d752531e">Level</a> Log::LevelFromStr </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>str</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Parse a logging level from a string. </p>

</div>
</div>
<a id="ad99543fb936b6448fc857a9db0751dc4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad99543fb936b6448fc857a9db0751dc4">&#9670;&nbsp;</a></span>LevelToStr()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const char* Log::LevelToStr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classLog.html#afb5d4c945d835d194a295461d752531e">Level</a>&#160;</td>
          <td class="paramname"><em>level</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a logging level to string. </p>

</div>
</div>
<a id="a3a81af53022c6d286a9341676ad778cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a81af53022c6d286a9341676ad778cd">&#9670;&nbsp;</a></span>ParseCmdLine() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void Log::ParseCmdLine </td>
          <td>(</td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&#160;</td>
          <td class="paramname"><em>argv</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Parse command line options (see <a class="el" href="classLog.html#aadbed1bc324f43b62a977d63f8dee534" title="Usage string for command line arguments to Create() ">Usage()</a> above) </p>

</div>
</div>
<a id="a9db7e596ef6b8d634c64cec0bda1d377"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9db7e596ef6b8d634c64cec0bda1d377">&#9670;&nbsp;</a></span>ParseCmdLine() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void Log::ParseCmdLine </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcommandLine.html">commandLine</a> &amp;&#160;</td>
          <td class="paramname"><em>cmdLine</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Parse command line options (see <a class="el" href="classLog.html#aadbed1bc324f43b62a977d63f8dee534" title="Usage string for command line arguments to Create() ">Usage()</a> above) </p>

</div>
</div>
<a id="a5f77b78fa8f1f8a0ce240fcec82d6ba1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f77b78fa8f1f8a0ce240fcec82d6ba1">&#9670;&nbsp;</a></span>SetFile() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void Log::SetFile </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>file</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the logging output. </p>
<p>This can be a built-in file, like <code>stdout</code> or <code>stderr</code>, or a file that has been opened by the user. </p>

</div>
</div>
<a id="aa21844620716ba51851da7c701c47706"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa21844620716ba51851da7c701c47706">&#9670;&nbsp;</a></span>SetFile() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void Log::SetFile </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the logging output. </p>
<p>Can be <code>"stdout"</code>, <code>"stderr"</code>, <code>"log.txt"</code>, ect. </p>

</div>
</div>
<a id="a8dad02e089ddac13fb2f711143c2fc0d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8dad02e089ddac13fb2f711143c2fc0d">&#9670;&nbsp;</a></span>SetLevel()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void Log::SetLevel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classLog.html#afb5d4c945d835d194a295461d752531e">Level</a>&#160;</td>
          <td class="paramname"><em>level</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the current logging level. </p>

</div>
</div>
<a id="aadbed1bc324f43b62a977d63f8dee534"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aadbed1bc324f43b62a977d63f8dee534">&#9670;&nbsp;</a></span>Usage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const char* Log::Usage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Usage string for command line arguments to Create() </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a560b1e5aa606f40e708d95ae6739ffb8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a560b1e5aa606f40e708d95ae6739ffb8">&#9670;&nbsp;</a></span>mFile</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">FILE* Log::mFile</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a868d2e3c70c675aab339194e442347b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a868d2e3c70c675aab339194e442347b0">&#9670;&nbsp;</a></span>mFilename</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string Log::mFilename</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a896bac37ef2440e3d2ed3a62745fe0df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a896bac37ef2440e3d2ed3a62745fe0df">&#9670;&nbsp;</a></span>mLevel</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classLog.html#afb5d4c945d835d194a295461d752531e">Level</a> Log::mLevel</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>jetson-utils/<a class="el" href="logging_8h_source.html">logging.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classLog.html">Log</a></li>
    <li class="footer">Generated on Tue Jul 14 2020 21:59:35 for Jetson Inference by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
